/* This program asks for input of two  will */
// Author: Rong Xiao
// Contact: rong@csd.uwo.ca


#include <iostream>
using namespace std; 

int main() {
	int begin, end;
	cout << "Please input the begin and end number to :";
	cout << "begin:";
	cin >> begin;
	cout << "end:";
	cin >> end;
	int toadd;
	toadd=begin;
	sum=0;
	while(toadd <= end)
			sum = sum + toadd;
	cout << "The summation is: " << sum << endl;
	return 0;
}
